﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ejunkey.Models;

namespace ejunkey.Controllers
{
    [Authorize]
    public class Product1Controller : Controller
    {
        private EjunkeyEntities db = new EjunkeyEntities();
        //
        // GET: /Product1/
        
        public ActionResult Index()
        {
            return View(db.Products.ToList());
        }

    }
}
